package org.next.tesigiulia.utils;

import com.google.common.eventbus.EventBus;

/**
 * Created with IntelliJ IDEA.
 * User: Giulz
 * Date: 10/01/13
 * Time: 12.50
 * To change this template use File | Settings | File Templates.
 */
public class MyEventBus {

    //singleton

    private static MyEventBus _instance=new MyEventBus();
    private EventBus eventBus;

    public static MyEventBus getInstance(){
        return  _instance;
    }

    private MyEventBus(){
        this.eventBus=new EventBus();
    }

    public EventBus getEventBus() {
        return eventBus;
    }

}